﻿using System.ComponentModel;

namespace BrainTechLLC
{
#if NO_SILVERLIGHT
    [Browsable(true)]
    [TypeConverter(typeof(ExpandableObjectConverter))]
#endif
    public interface IKeywordAccessible
    {
        string Keywords { get; set; }
    }

#if NO_SILVERLIGHT
    [Browsable(true)]
    [TypeConverter(typeof(ExpandableObjectConverter))]
#endif
    public interface IHasNameAndDescription : IAssociatedID, IKeywordAccessible
    {
        NameAndDescription NameInfo { get; set; }
        float KeywordMatchStrength(string matchString, out string bestMatch);
    }

#if NO_SILVERLIGHT
    [Browsable(true)]
    [TypeConverter(typeof(ExpandableObjectConverter))]
#endif
    public interface INameAndDescription : IKeywordAccessible
    {
        string Name { get; set; }
        string OneLineDescription { get; set; }
        string ShortDescription { get; set; }
        string FriendlyUniqueName { get; set; }
    }
}